<html>
<#include "common/header.ftl">
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-4 column">
            <form role="form">
                <div class="form-group">
                    <label>Openid</label><input type="text" class="form-control" id="openid" />
                </div>
                <button type="button" class="btn btn-default" onclick="login()">登录</button>
            </form>
        </div>
    </div>
</div>
</body>
<script>
    function login() {
        var openid = document.getElementById("openid").value;
        if (openid == "")
        {
            alert("openid不能为空");
        }
        else
        {
            location.href="/sell/seller/login?openid="+openid;
        }
    }
</script>
</html>